package com.azzaou.dao;

import java.util.List;
import java.util.Map;

import com.azzaou.model.User;

/**
 * [Description IUserManagementDao]
 */
public interface IUserDao
{

  public void saveOrUpdate(User user);

  public List<User> getAllUsers();

  public void deleteUsers(List<Long> listId);

  public Map<Integer, List<User>> getListUsers(int startRecord, int maxPerPage);

  public boolean isUserExist(String login);
  
  public List<User> getUserByCreteria(User user);

  public User login(String login, String password);

  public void delete(User user);
}
